<%-- 
    Document   : edit-professor
    Created on : 13/06/2013, 14:51:10
    Author     : Eduardo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="Model.*"%>
<%@page import="Controller.*"%>
<%@page import="java.sql.*" %> 
<%@page import="java.io.*" %>

<%
    String id = request.getParameter("id");
    Query q = new Query();
    Disciplina rs = q.getDisc(id);
%>
<script src="js/script.js"></script> 
<div class="modal-header">  
    <a class="close" data-dismiss="modal">×</a>  
    <h3>Remover: <% out.println(rs.getCod());%></h3>
</div>
<div class="modal-body">
    <div id="info"></div>
    <h3>Confirma a remoção de: </h3>
    <dl class="dl-horizontal">
        <dt>Codigo:</dt>
        <dd><% out.println(rs.getCod());%></dd>
        <dt>Nome:</dt>
        <dd><% out.println(rs.getNome());%></dd>
        <dt>Carga hoaraia:</dt>
        <dd><% out.println(rs.getCargahoraria());%></dd>
        <dt>Creditos:</dt>
        <dd><% out.println(rs.getCredito());%></dd>
        <dt>Resumo:</dt>
        <dd><% out.println(rs.getResumo());%></dd>                    
    </dl>
</div>
<div class="modal-footer">
    <a class="btn btn-danger del" data-dismiss="modal" type="disciplinas" status="0" xid="<% out.print(rs.getId());%>">Inativo</a>  
    <a class="btn btn-success del" data-dismiss="modal" type="disciplinas" status="1" xid="<% out.print(rs.getId());%>">Ativo</a>  
</div>